refactor: remove InputStream overloads and update lab test APIs#73
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
refactor: remove InputStream overloads and update lab test APIs#73fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Removes InputStream-based parserCreateJob overloads from RawLabReportClient and adds new optional fields to lab test APIs. The removed methods accepted InputStream parameters for file uploads but have been consolidated into File-based methods. Key changes: - Remove parserCreateJob overloads accepting InputStream parameters - Add labAccountId and labSlug fields to CreateLabTestRequest - Add labSlug field to LabTestsGetMarkersRequest - Add appointmentNotes field to RequestAppointmentRequest - Change lab parameter type from String to AppointmentPscLabs enum in LabTestsGetPscAppointmentAvailabilityRequest - Update method documentation to reference "file(s)" instead of "file" 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: Removed four public parserCreateJob method overloads that accepted InputStream parameters - existing callers will get compile errors.
parserCreateJobmethods that acceptedInputStreamparameters have been removed fromRawLabReportClient. Use theFile-based overloads instead. Additionally, lab test APIs now support new optional fields including lab account ID, lab slug, and appointment notes.GetOrderTransactionResponse.getStatus()method now returns anOrderTransactionStatusenum instead of a String. Update code to handle the enum type. TheParsingJob.getJobId()method has been removed - useParsingJob.getId()instead for the parsing job identifier.UserInfo.getAddress()method now returnsUserAddressinstead ofAddress. Update your code to use the new return type, which includes the same fields plus an optionalAccessNotesfield. NewDerivedReadinessColumnExprvariant is available inQuerySelectItemfor readiness data queries.lab_slugparameter in thegetMarkersmethod. Additionally, iOS and Android SDK version headers can now be included when connecting manual providers.logging()method on SDK builders.New lab testing providers are now supported: Sonora Quest and CRL labs are available for appointment booking and test processing. Samsung Health integration is now available for manual data entry. The SDK also adds support for Apero and PVerify payor verification services.
Additional order status tracking is now available for corrected test results, and new CompendiumClient and LabAccountClient provide access to expanded lab testing capabilities.
RawLabAccountClientclass withgetTeamLabAccounts()method for retrieving and filtering team lab accounts. Lab test order creation now supports an optionalclinicalNotesfield for enhanced documentation during the ordering process.additionalProperty()andadditionalProperties()methods available on all request builders. These methods allow passing custom key-value pairs in API requests for enhanced flexibility.additionalProperty()andadditionalProperties()are now available on all request builders, providing a fluent interface for setting custom properties on API requests.additionalProperty()andadditionalProperties()methods.additionalProperty()andadditionalProperties()are now available on request builders, allowing custom key-value pairs to be passed for forward compatibility. TheAppointmentBookingRequestbuilder also supports a new optionalappointmentNotesfield for custom booking annotations.CanonicalCandidatetype available for lab test canonicalization with LOINC codes, provider IDs, aliases, and confidence scoring. Builder classes now include convenience methodsadditionalProperty()andadditionalProperties()for easier custom property management.appointmentNotesfield onClientFacingAppointmentobjects. Additionally, builder classes across the SDK now includeadditionalProperty()andadditionalProperties()methods for enhanced flexibility when constructing objects.additionalProperty()andadditionalProperties()builder methods are now available across all client-facing data types. These methods allow you to add custom properties to model objects that will be preserved during serialization.additionalProperty(key, value)oradditionalProperties(map)when building objects to include custom key-value pairs.additionalProperty(key, value)oradditionalProperties(map)on any Client Facing type builder to include custom fields.additionalProperty()andadditionalProperties()are now available on all client-facing type builders. These methods allow setting custom key-value pairs on API response objects during construction.additionalProperty()andadditionalProperties()are now available on all data model builders, enabling custom field extensions when constructing objects.additionalProperty(String key, Object value)andadditionalProperties(Map<String, Object>)methods are available on all builder classes, enabling more flexible object creation.additionalProperty()andadditionalProperties()methods available on all model builder classes for setting dynamic properties.ConvertCompendiumResponseclass for converting lab tests between different providers. AddedCompendiumSearchLabsenum supporting LABCORP, QUEST, BIOREFERENCE, and SONORA_QUEST. Enhanced all model builders withadditionalProperty()andadditionalProperties()methods for better handling of unknown API response fields.additionalProperty()andadditionalProperties()methods. This provides better forward compatibility when the API adds new fields. A newGetTeamLabAccountsResponseclass is also available for team lab account operations.additionalProperty()andadditionalProperties()methods available on all Grouped data type builders. These methods allow adding custom key-value pairs to objects during construction for enhanced extensibility.additionalProperty()andadditionalProperties()methods can be used when building grouped response objects programmatically.additionalProperty()andadditionalProperties()methods. New enum valueDERIVED_READINESSadded toIndexColumnExprIndex, and new enum classesLabAccountDelegatedFlowandLabAccountStatusare available.additionalProperty()andadditionalProperties()are now available on all data model builders, enabling programmatic access to set custom properties on response objects.PerLabCandidatetype available for laboratory test candidate matching, providing access to marker IDs, lab information, LOINC codes, CPT codes, and confidence scores. All builder classes now includeadditionalProperty()andadditionalProperties()methods for handling custom fields.ProviderIdConversionResponseandRelatedCandidate. Added support for Samsung Health provider and gender field in result metadata. All model builders now support additional properties viaadditionalProperty()andadditionalProperties()methods.SearchCompendiumResponse,SearchMode, andUsStatetypes are now available in the SDK. The SDK also adds missing builder methods for additional properties on existing types.UserAddresstype available for handling user address information. Enhanced builder pattern support across existing model classes with additional property methods.